{#模块加载器#}

{#
    加载导航
    title ： string 页面标题
    describe :  string 子标题
    breadcrumb : array 导航   {"name": "url", "name": "url"}  例如 {"中国": "#", "北京": "#"}
#}
{% macro load_navigation(title, describe, breadcrumb ) %}
    {% include('@Admin/adminFramework/model/navigation_title.html.twig') %}
{% endmacro %}

{% macro load_popup_form(title, content, bottom_content, pop_id, form_id, height, width, div_content) %}
    {% include('@Admin/adminFramework/model/popup_form.html.twig') %}
{% endmacro %}

{% macro load_form(inputs, action, other) %}
    <form method="post" class="form-horizontal" action="{{ action | default('') }}" {{ other | raw }} >
        {% for value in inputs %}
            {{ value | raw }}
        {% endfor %}
    </form>
{% endmacro %}

